package com.ckf.es.service;


import com.ckf.es.entity.Nba;

import java.io.IOException;

/**
 * @author: serene
 * @date: 2020/10/29 9:22
 */
public interface EmpService {

    /**
     * 添加
     * @param player
     * @param id
     * @return
     * @throws IOException
     */
    boolean addPlayer(Nba player, String id) throws IOException;

    /**
     * 将数据库中的数据全部导入到ES
     *
     * @return
     * @throws IOException
     */
    boolean importAll() throws IOException;


}
